package org.linlinjava.litemall.admin.vo.online_service;

import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author wj
 * @date 2021/8/10 14:04
 */
public class AddServiceTimeVo {

    @NotBlank(message = "模板名称不能为空")
    @Length(max = 50,message = "模板名称过长")
    private String timeModelName;

    @NotBlank(message = "预约天数不能为空")
    private String appointDay;

    private List<TimeSlot> timeList;

    @NotNull(message = "店铺id不能为空")
    private Integer shopId;

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getTimeModelName() {
        return timeModelName;
    }

    public void setTimeModelName(String timeModelName) {
        this.timeModelName = timeModelName;
    }

    public String getAppointDay() {
        return appointDay;
    }

    public void setAppointDay(String appointDay) {
        this.appointDay = appointDay;
    }

    public List<TimeSlot> getTimeList() {
        return timeList;
    }

    public void setTimeList(List<TimeSlot> timeList) {
        this.timeList = timeList;
    }
}
